package cn.kxm.pojo;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
/*
 * 收款单
 */
public class CollectBill {

	private String code;
	private String customName;
	@JSONField(format="yyyy-MM-dd")
	private Date collectDate;//报价时间
	private double collectTotalMoney;//总金额
	private String memo; //描述
	private int collectType;//付款方式
	private int collectStatus;//支付状态
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCustomName() {
		return customName;
	}
	public void setCustomName(String customName) {
		this.customName = customName;
	}
	public Date getCollectDate() {
		return collectDate;
	}
	public void setCollectDate(Date collectDate) {
		this.collectDate = collectDate;
	}
	public double getCollectTotalMoney() {
		return collectTotalMoney;
	}
	public void setCollectTotalMoney(double collectTotalMoney) {
		this.collectTotalMoney = collectTotalMoney;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public int getCollectType() {
		return collectType;
	}
	public void setCollectType(int collectType) {
		this.collectType = collectType;
	}
	public int getCollectStatus() {
		return collectStatus;
	}
	public void setCollectStatus(int collectStatus) {
		this.collectStatus = collectStatus;
	}
	public CollectBill() {
		super();
	}
	public CollectBill(String code, String customName, Date collectDate,
			double collectTotalMoney, String memo, int collectType, int collectStatus) {
		super();
		this.code = code;
		this.customName = customName;
		this.collectDate = collectDate;
		this.collectTotalMoney = collectTotalMoney;
		this.memo = memo;
		this.collectType = collectType;
		this.collectStatus = collectStatus;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "CollectBill [code=" + code + ", customName=" + customName + ", collectDate=" + collectDate
				+ ", collectTotalMoney=" + collectTotalMoney + ", memo=" + memo + ", collectType=" + collectType
				+ ", collectStatus=" + collectStatus + "]";
	}
	
}
